package com.wowoai.dialog.service;

import com.wowoai.chatai.enums.ImageStatusEnum;
import com.wowoai.common.userInfo.UserInfo;
import com.wowoai.dialog.service.dto.DialogHistoryDTO;
import com.wowoai.user.service.dto.UserDTO;


public interface DialogServiceI {
    void saveDialogContent(UserInfo userInfo, String problem, String answer);

    /**
     * 保存MidJourney绘画的咒语
     *
     * @param userDTO
     * @param taskId
     * @param problem
     */
    void saveDialogContentForMidJourney(UserDTO userDTO, String taskId, String problem);

    DialogHistoryDTO findByTaskId(String taskId);

    /**
     * 更新状态
     * @param task_id
     */
    void changeStatus(String taskId, ImageStatusEnum imageStatusEnum);
}
